/*
 * PlayScenarioPanel.h
 *
 *  Created on: Oct 24, 2011
 *      Author: gonzalo
 */

#ifndef PLAYSCENARIOPANEL_H_
#define PLAYSCENARIOPANEL_H_

#include "ScenarioPanel.h"
#include "../../Server/BattleMasterPlayerGame.h"
#include "Bullet.h"
#include "TankStatus.h"
#include "Tank.h"


class PlayScenarioPanel: public ScenarioPanel {
private:

	Label* lblNotification;

	std::list<Bullet*> bullets;

	Tank* getPlayerTank();

public:

	PlayScenarioPanel(int xPos, int yPos, Widget* parent);

	void init(BattleMasterPlayerGame* game);

	virtual void handleEvent(Event event);

	virtual void resolve();

	virtual void showOn(SDL_Surface* surface);

	void addBullet(int x, int y, int angle);

	void setNotification(std::string notification);

	virtual ~PlayScenarioPanel();

};

#endif /* PLAYSCENARIOPANEL_H_ */
